package com.winchain.chainbill.basic.cus.dao;

import com.shell.bee.persistence.mapper.BaseMapper;
import com.winchain.chainbill.basic.cus.po.CusRec;
import com.winchain.chainbill.basic.cus.vo.BasCustomerVo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public abstract interface CusRecDao extends BaseMapper<CusRec> {
	public abstract List<BasCustomerVo> findCustomers(BasCustomerVo paramBasCustomerVo);

	public abstract List<BasCustomerVo> findCusForGrp(BasCustomerVo paramBasCustomerVo);

	public abstract CusRec findCustomerByAcctNo(String paramString);

	public abstract List<BasCustomerVo> findRelCusList(BasCustomerVo paramBasCustomerVo);

	public abstract int countMsgForTrial(@Param("approverId") String paramString,
			@Param("cusStates") String... paramVarArgs);

	public abstract List<CusRec> selectXfeOrDctCusListByGrpIds(@Param("grpIds") String... paramVarArgs);

	public abstract List<CusRec> getPlatform(@Param("cusId") String paramString1,
			@Param("tagCode") String paramString2);

	public abstract List<CusRec> selectFisrSupplierByInviterId(@Param("inviterId") String paramString1,
			@Param("grpId") String paramString2);

	public abstract List<CusRec> selectCusByBizCode(@Param("grpId") String paramString1,
			@Param("tagCode") String paramString2, @Param("bizCode") String paramString3);

	public abstract List<CusRec> selectListByName(@Param("name") String paramString);
}
